//
//  UIButton+CountDown.h
//  Soha
//
//  Created by 谭飞 on 2018/9/2.
//  Copyright © 2018年 LB. All rights reserved.
//  倒计时功能按钮

#import <UIKit/UIKit.h>

@interface UIButton (CountDown)


/**
 倒计时

 @param timeLine 倒计时时间
 @param title 正常显示文字
 @param subTitle 倒计时显示的文字
 @param countDownBlock 倒计时结束的回调
 @param isEnabled 是否允许用户倒计时时交互
 */
- (void)countDownWithTime:(NSInteger)timeLine
                withTitle:(NSString *)title
        andCountDownTitle:(NSString *)subTitle
           countDownBlock:(void(^)(id obj))countDownBlock
                isEnabled:(BOOL)isEnabled;

@end
